{include file="public/header"}
</head>
<body>
	<header>
		<div>
			<a href="javascript:history.back();"><i class="icon-fanhui icon iconfont"></i></a>
		</div>
		<div>
			我的订单
		</div>
		<div></div>
	</header>
	<div class="main vip">
		
		<div class="tabs">
			<a href="{:url('user/user')}" class="active">我的订单</a>
			<a href="{:url('address/address')}">收货地址</a>
		</div>
		
		<div class="tabContent">
			{foreach $list as $v}
			<div class="order">
				<div class="orderId">
					<span class="oid">
						订单号：{$v['order_sn']}
					</span>
					<span class="pstate">
						状态：<a href="#">{$v['order_status']}</a>
						<a href="" class="delA"><i class="icon iconfont icon-shanchu"></i></a>
					</span>
				</div>
				<div class="olist">
					{foreach $v['num'] as $kk=>$vv}
					<div class="item">
						<img src="/static/{$v['photo_x'][$kk]}" alt="">
						<span>
							x{$vv}
						</span>
					</div>
					{/foreach}
				</div>
				<div class="oinfo">
					<span class="tprice">
						总金额：{$v['price']}
					</span>
					<a href="{:url('User/userinfo',['id'=>$v['id']])}" class="odetail">订单详情</a>
				</div>
			</div>
			{/foreach}
		</div>
		

	</div>
	{include file="public/footer"}
</body>
</html>